﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity
{
    public class LoginRequest
    {
        public string UserName { get; set; }
        public string Password { get; set; }

        public LoginBIRequest FromDto()
        {
            LoginBIRequest request = new LoginBIRequest();
            request.Password = Password;
            request.UserName = UserName;
            return request;
        }

        public List<string> Log()
        {
            List<string> result = new List<string>();
            result.Add("Method: Login - Request");
            result.Add("Request by: " + UserName);
            result.Add("Password: " + Password);
            return result;
        }
    }
}
